﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.Xpo;

namespace DataModel.Models.Factories
{
    public static class BlankFactory
    {
        public static Blank CreateBlank(Session session)
        {
            Blank blank = new Blank(session);
            if (Core.Settings.Current.UserSettings.MainCompany != null)
                blank.InsuranceCompany = Core.Settings.Current.UserSettings.MainCompany;
            return blank;
        }
    }
}
